home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / fpc225_3.zip / F-PCHELP.ZIP / UTILS.HLP < prev    next >
Text File  |  1987-12-23  |  3KB  |  68 lines

  1. \ UTILS.HLP     Help file various utilities.
  2.  
  3.    Set FUDGE to adjust period of MS.
  4. MS delays about n MilliSeconds.
  5.   This clearly depends on your system clock speed.
  6.   Adjust FUDGE until the delay is right.
  7. U<=   Unsigned less than or equal.
  8. U>=   Unsigned greater than or equal.
  9. <=    Less than or equal.
  10. >=    Greater than or equal.
  11. 0<=   Less than or equal to zero.
  12. 0>=   Greater than or equal to zero.
  13.  
  14. LMARGIN is the column number of the left margin.
  15. RMARGIN is the column number of the right margin.
  16. ?LINE   Move to left margin on next line if we will be past the
  17.   right margin after printing n characters.
  18. ?CR   Move to left margin on next line if we are past the
  19.   right margin.
  20.  
  21. LARGEST (S addr n -- addr' val )
  22.    Given a address and a number of words to examine, return
  23.    the address and the value of the largest entry in the
  24.    array.
  25.  
  26. #TIMES   A variable that keeps track of how many times.
  27. TIMES   ( n -- )
  28.    Re-execute the input stream a specified number of times.
  29.  
  30. MANY   (S -- )
  31.    Re-execute the input stream until the user presses a key.
  32.  
  33. ::   compile and execute nameless FORTH code, then forget it.
  34.  
  35. N      Make the Next screen the current one.
  36. B      Make the previous (Before) screen the current one.
  37. L      List the current screen.
  38.  
  39. FOUND   A local variable to make life easier.
  40. SCAN-1ST   SCAN for first character of a string if ignoring case
  41.  otherwise do nothing. This makes SEARCH much faster when case
  42.  is significant.
  43. SEARCH   ( sadr slen badr blen -- n f )
  44.    Search for the s string inside of the b string.  If found
  45.    f is true and n is the offset from the beginning of the
  46.    string to where the pattern was found.  If not found, f is
  47.    false and n is meaningless.
  48.  
  49.  The following parameters are input to the string operators:
  50. sa  string-address      sl  string-length
  51. ba  buffer-address      bl  buffer-length
  52. ba bl sl DELETE      deletes sl characters from the start of
  53.   the buffer, filling the end with spaces.
  54. sa sl ba bl INSERT   inserts the minimum of sl or bl characters
  55.   into ba from sa.
  56. sa sl ba bl REPLACE    overwrites the minimum of sl or bl
  57.   characters onto ba from sa.
  58.  
  59. PAGE      Printer dependent. Get to a new page.  Increment the
  60.    page number and reset the line number and the column number.
  61. FORM-FEED Print a form feed character.
  62. (PAGE)    Print enough linefeeds to get to next page.
  63. TEXT?   (S Scr# -- f )
  64.    Given a screen number, returns true if the first character
  65.    in the screen is printable and the screen is not blank.
  66.  
  67.  
  68.